package com.example.entity;

import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class User {
    private Long id;
    private String loginname;  // 对应LOGINNAME
    private String name;       // 对应NAME
    private String email;      // 对应EMAIL
    private String mobilephone; // 对应MOBILEPHONE
    private String password;   // 对应PASSWORD
    private Integer sex;       // 对应SEX
    private String address;    // 对应ADDRESS
    private String tel;        // 对应TEL
    private Integer status;    // 对应STATUS
    private Date createTime;   // 对应CREATE_TIME
    private String createUser; // 对应CREATE_USER
    private Date updateTime;   // 对应UPDATE_TIME
    private String updateUser; // 对应UPDATE_USER
    private Integer version;   // 对应VERSION

    private List<Role> roles;
    private List<Menu> menus;
}